<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<div class="span12 box-content">
	<div class="span12">共有${recordCount}条数据,${totalPage }页</div>
	<table class="table table-striped table-bordered" >
		<thead>
		 <tr>
		 	<th>姓名</th>
		 	<th>年级</th>
		 	<th>专业</th>
		 	<th>题目名称</th>
		 	<th>指导教师</th>
		 	<th>最终成绩</th>
		 </tr>
		</thead>
		<tbody>
		<c:forEach items="${recordList }" var="r">
			<tr>
				<td>${r.stuName }</td>
				<td>${r.stuGrade }</td>
				<td>${r.stuProf }</td>
				<td>${r.projName }</td>
				<td>${r.teacherName }</td>
				<td>${r.score }</td>
			</tr> 
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination  pagination-centered"
			data-totalPage="${totalPage }" 
			data-currentPage="${page }" 
			data-url="<%=basePath%>admin/admin/showRecordList/{page}"
			style="display:none">
	</div>
</div>